package com.dnjn.happiness.system.domain.vo;
import com.dnjn.happiness.system.enums.BindType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 人员架构对象 sys_team
 * 
 * @author amber
 * @date 2024-01-02
 */
@Schema(name = "SysTeamVO", description = "人员架构")
@Accessors(chain = true)
@ToString
@Getter
@Setter
public class SysTeamVO implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** PK */
    private Long teamId;

    /** 是否删除 */
    private String deleted;

    /** 邀请码 */
    private String inviteCode;

    /** 上一级 sys_team.team_id */
    private Long parentId;

    /** 上一级 名称 */
    private String parentName;

    /** 团队总人数 */
    private Integer memberTotal;

    private LocalDateTime appraiseTime;

    /**  */
    private Integer level;

    /**  */
    private Long userId;

    /** 名称 */
    private String nickName;

    /** 上两级 sys_team.team_id */
    private Long superId;

    /** 解绑类型：Multipoint(多点解绑) | SinglePoint(单点解绑) */
    private BindType unBindType;



}
